Add CMake Support And Re-enable Tests