What makes a good unit test?

look at the jQuery/jQueryUI repository at github. there are extensive unit tests attached.

all those things you can check with a unit test.