added tests for custom navigation controller