added points cloud generation into the main_test