Moves optimizer tests to alf itself.