Declare CT_SUITES only when running tests target

I moved the CT_SUITES declaration to inside of the tests target and only run it if we have a test directory. It will still produce the missing test warning if the directory does not exists but I think that is a good behaviour.