Added resourceDirectory to ScctTest