updated pubspec
changed tests, changed the format errors are returned