Add tests for updating total weight limits in backend