Add test helper to allow for errors