test: Check for overcommit.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>