Cause test environment to use private IP of instances.

Tests were failing because the database is not accessible
on the public IP (it is blocked by iptables).
Merge pull request #241 from blueboxgroup/private-ip-test

Cause test environment to use private IP of instances.