Fix issues for pattern formatter spec using rbx.