Added test for navbar and fixed other tests