add test for bubble computation