remove test for nil in format_version.

- remove nil check
- remove unit test for nil check