Implemented simple test function