Correctly use relative path as array, and improve coverage