Add function echoTest to test class