Making sure compose works correctly when called multiple times.
Fixing failing test and adding minified version.
Merge pull request #9 from kubawalinski/fixing_compose

Fix compose