unit test for apprentices endpoint
cleaned up ban and bans endpoints