added tests for navigation controller utility methods