changed cassandra to pull up cassandra instance which is useful for unit tests
implemented closeable to test java 7 features