Integrated test bill.
Added tests