Write tests for the puppet:// uri logic