Add test for memory-leak with MooseX::Declare

This bug has been reported here:
  https://rt.cpan.org/Public/Bug/Display.html?id=82618

This test is inactive due $TODO, but the bug should be fixed later.