Unit tests for menu.js added