Fix proxy tests