Code test for s3gp