Added functional test with RestAssured