fix payment tool tests