added phpunit test suite.
added implementation of httpfoundation adapter
added test