fix translate testing on travis-ci

finally landed as PR - hopefully not too many more cleanups

thanks Dwayne for the helpful pointers on my fork's commit