Moved diagram tests inside the module structure
AIOOBE when project had no references