fixed up tests so that they actually work