Fixed the test errors and made them into failures