change load to require in test spec