added place order method and tests