add test for enum as return; add test of :bool