first stab at unittesting