Update test cases to use junit TemporaryFolder (Fixes #4).
Fix a NullPointerException in FeatureStructureStored (Fixex #8).