created tests and erb code to allow menu items to be more dynamic