Copied over to cpor_pub_sw08_test.py