Implemented basic test function