added tests
added helper scripts to check code quality and run unit tests