Miscellaneous changes

Moved all junit test properties files from config to config/test and updated all tests accordingly. Also, added closeConnection call to PersistenceConnection and updated tests to use it.