Convert test so it takes arguments and returns
a success code.