Chapter 10 Exercise 2: add tests for micropost pagination