Added more specs and fixed a bug with new contents not being written
Updating README