Remove warning
Request parse return pointer of new object and made it static
Adopt test to google unittest

TODO: finish testing
Remove unused variable