fixed error in output tests