Add unit test for virtual _key column