Added tests for the navigation widget