Update README.md

Changed gradle and maven example code to use test scope