added unitTest