Modify unit tests, rename EventsTags table, add integration tests