Fixed major bug when association was not properly closed on exception. Added simple test for Storage service