Add tests to ensure that various Boost types work as expected (Antony Polukhin).