Added unit test for 'Path has alias' condition.