clean up build, add PUT test