added more function tests
added more function test.