Added second stage to binarytest