Add OS executor unit test.

1) OS executor test suite.
![os_unit_test](https://cloud.githubusercontent.com/assets/4386285/2998533/bf3671f2-dd0b-11e3-9af2-b376c37f1a65.jpeg)