Do some changes on package db and edit the test main scripts