Fixed failing spec with replacing hard file path by __FILE__.