Start to create unit tests

- First test checks that the browser addMockModule has been called
- Checks that the module name exists correctly

Starts to address unit testing #3 
As discussed, could you split these tests out into separate things?