Added more tests for functions up to 117