Modified adapter to handle preemptive formatting. Added test for preemptive formatting