I guess we should add helpers for testing error cases too?