added unit tester
added testing