Don't add resource to array without a 'uri'
Added feature issue154

I went with a testing approach that's little more high level (matching the Application __toString() output), and initiates the resources like in the "Tyrell" example.