implemented several test methods