Fixed db test
Added package to initial test package files
Changed endpoints names to be follow restful best practices