add test framework
use enum for potential type specification instead of 2 bools