setup test cases for unit testing