initial commit of testing helper functions

This may not be useful for anyone but me, but here it goes!