test error for covering a non-existent method