Added some brief unit tests for prime utilities.