test for blackbox