added some more tests for more functions