Rewrote integration test
- Integration test now in Spock
- Integration test now more machine-independent