fix includes
#! is not required for library files
main is not needed to run unittests with nosetests
add test for wrong filename