Rtests2 (WIP)

Expanded server route unit tests to cover more error cases. Diffs route still needs debugging.
indentation should match beginning of `data`