removed wrong :function-pointer
added test case