See above. Move assertions into catch block