Added tests for the residues lab.