this file hasn't been switched over to the new format but it will be, can you use the done and err.name.should.equal('bad_request') syntax please.