add hook in lib file for testing run method (via environment variable -> if env = test dont execute Rack::server