remove old test code and add triplet.js