add function pointer small test