Update README file and add a spec for wrong data attribute input