HOTFIX: accidental tab caused indent error
added tests for handlers
consistent file object check
removed unused imports
removed unused imports
Merge pull request #246 from ebolyen/master

URGENT HOTFIX: accidental tab caused indent error