added error to test