unit testing for new design