Refactoring test codes with macros
Added feature tests
bug fixed
Merge pull request #6 from Takayuki-Suzuki/mod5

Feature tests