add bom test code