Added test methods.