This might be working correctly now - the rb test was failing because the height check was implemented wrong.