added tests for other functions