Main tests created.
Refatoring Main tests.
Merge pull request #27 from fogbow/develop

Main tests created.