Re-factored the test for "compose": using "beforeEach" to create a common test fixture, added "build" to .gitignore

I re-factored the test for "compose" a bit: the common set up code was moved to "beforeEach", also I added the "build" folder to .gitignore