Bitcoin and Mastercoin Integration Testing using Spock