move factory page creation around to resolve failing test