[test] Add tests for _get_empty() funcs