Refining code following test
Adding buch of test from flask-restful
Using fields dict with marshal func