More work on unit tests. Split the modules into different .js files