Added test for enum lookup