test code to override navigation.View core class