add min() to test_functions
FIX: almost all server integration tests
Merge pull request #619 from reneme/fix-integration_tests

Fix: Integration Tests Framework