modified classes and tests for string storage