Added unit tests and linting to arc