refactored feature test and added dashboard link to navbar