improved testing for silex to be able to test templates and content