Small re-factoring, using 'beforeEach' in test
Added the build folder to .gitignore