amount-in-controversy test — Legal Definition, Examples & Cases