Apply diff tests

Here are the finished applyDiff test cases. I forgot to send a PR, since I finished these a while a go. 

Let me know if the combined test cases are correct. Or if there is anything missing.