raycast test and some bug fix and boost::log test