replace deprecated mock with double
fix one internal test of caching input classes in builder