adds simpletest for unit testing