add test for override keyword