modularises test methods