fixed lower bid bug and added bid model test