Getting intellisense in the "tests" directory

I was wondering if anyone here has managed to get code_completion/debugging/etc working in the "tests" directory in a rust project while using intellij.

The rust book recommends putting the "integration tests" in a tests directory next to the src directory. This is great for testing the public API of your library; however, I can not seem to get Clion to recognize that directory as anything interesting. I was wondering if anyone has managed to get this type of setup to work.

Many thanks in advance,
Max "rust addict" Grinchenko