implemented mock storage and mock browser tests