added tests and fixed some issues
removed pyc files
modified readme