tests like here could be updated to reflect the new API:
https://github.com/cvasilak/aerogear-ios/blob/refactor.AGIOS-79/AeroGear-iOS/AeroGear-iOSTests/AGMemoryStorageSpec.m#L69