Pull Request for oDesk jon

Hi Chris,

This is a pull request for the interview for job opening on oDesk (https://www.odesk.com/jobs/~~0b3c6e17bcd1ef74). Please find the test added for navBarView. I have added three tests and do let me know if these make sense.