removing redundancy
adding non-existence condition
adding test page and README for mocks