[RFC 3/8] unit tests: add tests for get_dump_mode_by_fadump_val