Added null order to order collection to test that functionality stays
the same with invalid orders.
Added missing synchronized keyword on public methods.
Added some missing final specifiers.