1. Please prepare a pencil and an eraser before starting the test.

2. Please prepare for a pencil and an eraser before starting the test.

3. Please prepare a pencil and an eraser for me before starting the test.

4. Please prepare for a pencil and an eraser for me before starting the test.
===============
Are they all grammatical? Which ones are common expressions?

2 and 4 don't make sense. How does one prepare FOR a pencil and an eraser? Are they going to attack? 3 is grammatical, but I don't know why you would prepare a pencil for me if you are going to use it to take the test. #1 is the only one that is grammatical and makes sense.