Add unit tests for negative test framework

Add basic test cases for generate_json and negative auto test.

Partially-implements: bp negative-tests
Change-Id: I52d376689c0eca0e732ec8a506039b4ef0e326fe
Merge "Add unit tests for negative test framework"