Clean up wp list controller a bit and added some basic controller tests.