Added version check for unit tests.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>