update get formats regexp
update ugh tests
tiny cleanup