My Washer Won't Drain The Tub

My Washer Will Not Drain. I Took The Water Pump Off. Is There Anyway To Test This Before I Buy A New One? Or How Do I Know Its The Water Pump, Could It Be Something Else. It Fills With Water And Spins But Won’t Get Rid Of The Water In The Tub.