"testing if return does throw errors"