updated tests using helpers