Unit test for hs-source-dirs prefix