Finished residual tests