tweak test module detection