added test, fixed bubble repushing