Check the VELOCITY environment variable before attempting to register the test frameworks.

This should prevent framework registration in the case where velocity has been disabled via an environment variable.