Don't mind the cheesy name, I'm not feeling creative
This console app calculates your WPM by giving you (lame) sentences to type. Also has options to record your data in a file which can be reopened. Includes the source. Try it out and give me suggestions!