fixed test_accepted_type_error()