Test goldwasher and refactor test setup.