Testing throw() clause