Next and Previous filters plus tests and documentation