fixed reduntant status returing from anon functions
separated tests on different classes
added more tests for function calls