ASP.NET: Plaintext test and other JSON tests

I added the plaintext test.

I also added other JSON tests from pull request #285. This pull request was submitted for the old version (which I refactored) of aspnet and so can't be merged anymore.