almost finish p-test module