adds tests for secondary storage and cleans up JWT tests