raise specific error in unit test