corrected class visibility, corrected test-script