Fixed test scale factor and added some comments