Added response code asserts to the tests
Testing java 8 funcional interfaces