version bump to 5.7.0 (for environments), and fixed some issues in the test suite