Fixed some minor issues.

- dealt with exit code issues
- prevent some fqdn warnings
- added test provisioning scripts