Issue340 - MyModule shouldn't be indexed

This resolves #340.
Since this returns a boolean, it would be nice to name it `is_in_test_directory`.