Added missing env and clear database before unittests