rewrote first testUp to make it consistent with implementation