added a unit test

@ysahnpark ...have a look if you'd like but this is just an addition of a single unit test.