Modifiy test for updated efficiency() function