added negative tests