More tests fixes

Swapped the 'type' command for 'sendKeys' command because data fields on the site have problems with the 'type' command.