ex29 unit tests