JS unit tests for Menu controller