add casper test
fix port number
Merge pull request #70 from victorleungtw/master

Add end to end test
merge conflicted resolved