Fixed Bug related to simple test