Code tested with webtest 1