JSON based test spec