Tests for prev method