storage/test_ts2: Add tests for getid()