Add a no-fork maven profile.

Added a profile which disables surefire forking. This profile works fine and the test is successful irrespective of the registry hack.