Fix Spring deployment test