finished unit tests for activities realm