test for bf ruby class