implemented simpletest