implemented successful mock test