Unit testing hw