Finished planning

Finished planning tests. Need to write test code and decide on how
weighting is going to work.