Adding readme and tests for #248