ensure status code is returned from testing scripts