Consolidated test manager.
Added tests for osx and enabled them in the rake file.