Better implementation of unittest that doesn't use any internet resources