adding a test and cleaning up some code while I try to figure out why versions are coming out as ints in the json in tests