Changed Advapi32Test.testAccessCheck to work on non-US-English systems and general cleanup