add cases to test
throw