Encapsulate the test methods