Test-cases, adjust-methods

Written test-cases for GET and POST, writing Method-body in the
Adjust-Class.
Changed visibility of $classConstants to private.