finished the tests stuff