add tests for event
change module declaration for navigation, search, and popup
add tests for navigation