* Refactored test code.
* Added unit tests to test suite.
* Removed outdated tests and post processing.

BUG=
R=adam.sindelar@gmail.com

Review URL: https://codereview.appspot.com/181980043