boost: add test

Closes #35303.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>