upgrades to terraform v0.5.0
chagnes tests to align with terraform v0.5.0