Clean up all branch's test code, preparing for 0.16 release.