Refactor Exclude Nav Add Install Tests

- Refactor `exclude_nav` attribute check to not use switch statement
- Add some installation tests