Implemented pre req data gathering. Woo! Also added tests for it.