testing failed case