Unit testing and debugging view functions without any code changes can be done, as discussed here:
https://github.com/vivekpathak/castersSince the "todo list" talking about test cases - while trivial - is over three years old, it probably is okay to share here.
Thanks!
