Ported all tests to unittest instead of homebrew