Added a first version of the unit test.
the project doesn't build. must add the concrete class.
Added the Test for the mode checker. All Passed
Merge pull request #4 from Apex-net/Refactoring_Mode_Checker

Refactoring mode checker