Fix DB errors occurred during running test because agent_status field is not long enough