Refactored tests for Ref and added test for implicit refs

Proposed change regarding https://github.com/cloudtools/troposphere/pull/32#discussion_r8443118 from @bobveznat