updated wepay gateway; added tests