Fixed testResources.
Use akka's logging.
Debug log sql statements.