Update test.js

Added some functions and code improvements.
Update blog_models.js

Addes some functions and code improvements.
Update README.md
Merge pull request #2 from brunofarina/master

Added some functions and code improvements.