gmock test functions added