$tx->error doesn't stringify; also, croak not carp
fixed abs url in test