added more tests and fixed bids controller