added test throw

still needs curve