fix bug
add more coordinator tests