change README to markdown format
add more raw testing functions