renamed spec helpers and factories