test(navBar): add tests for changing title, left/right buttons

Closes #622. Closes #623.