Unit tests for follow functions