Add unit test for type value completion