added test method and framework fixes in ContactEntityViewsTest & CommonNavigation.java