move warnning message to the end of testing so that to be more clear