Adding unit tests of the engagement metrics