modify reademe
add travis
add throw error
complete test