Fixed several broken tests.
Bump loader minimum supported version.