adding unit test for missing function check