added tests for twigresponse and dicontainer