Add some volatile memory lock tests

Also some other tests for cpu frequency I wrote forever ago.  Probably too exhaustive but can change later.

-[Unknown]