more mac_user tests

Wrote some more mac_user tests and fixed some pylint errors