Added tests for path. path has only getter and must be initialized in constructor only.