adding unitTest method