added functionality to remote class to check if an undoable response was returned with tests