Add code test file for 2PL