Add test

ref: #9