complete unit tests