- added gainTest