Students, who study hard, should do well on the test.
There should be either two commas or no commas in this sentence.
If only students who study will do well, then use no commas.
If all students study and do well, then use two commas.
=)