added unit test for methods on annoymous types.
added unit test for methods on annoymous types.

--HG--
branch : dev

ekonbenefits/impromptu-interface,ekonbenefits/impromptu-interface,cgourlay/impromptu-interface,LancelotMak/lancelotmakumbila9-description,LancelotMak/lancelotmakumbila9-description