Remove duplicated test code.
Merge pull request #19 from statik/remove_duplicated_test

Remove duplicated test code.