added some references
fixed some tests after changing the connection method
added a new exception for failed connection.
added check for null pointer exception when reading properties
fixed test for valid file when connecting