Merge tests of Boost.Any from trunk (refs #6999)