remove unneeded expected directory
add some test cases
fix error message
update readme for publishing