Fixed bug causing jar to not recognise test activation flags. Removed unecessary code.