implemented hand and deck tests