Revert "Tests: Refactor the main module test"

This reverts commit b4a97f3fefb54e9f93aa7343668aaed06df41e28
with some modifications.
Merge pull request #120 from kuraga/revert-refactor-apotomo_test

Revert "Tests: Refactor the main module test"