Added notebook test cases

Tagpy test cases are run on iPython notebook using runtests extension.