Refactor tests to use application helpers