fixed mistake in tests for companies.list()
fixed silly mistake in main.js