Add tests for PreferTag