Enhance tests by adding Phactory

Add config on the fly -- needed this to be able to configure the test db. Also allows for better extending of library so we don't have to have a config within the location the library specifies.

Add ability to clean up database after finish of test class through removal of test collection.

_Will be using this to further extend by implementing Phactory or something like it._