FormatException should extend base Exception class
Test valid casts with both to_* and try_* functions