It looks like as of bcompiler 0.9.3 geoff's code above works correctly with the output:staticconstructtestOut