Adding unit test for NavController