Structured the test directory to have e2e and unit test.
Renamed karma.conf to karma-unit.conf.
Modified comment in karma-unit.conf.js.
Moved test/client/globals.js to test/client/unit/globals.js because it's not needed for e2e testing.
Added configurations for e2e testing.