updated counter tests to use mapper attributes more explicitly