fixed plugin tests to allow overriding system properties