add nose tests for syntax errors
add nose tests for deprecated python usage
add nose tests and fix whitespace errors and warnings
add nose tests and fix blank line errors and warnings
add nose tests for import errors
add nose tests and fix statement errors