Declarative web server for testing libraries