unittests function

hyperSpec unit tests