implemented some tests
added tests to version control