Fixed definition for PATHS keyword + improved unit test for same