fixed UnsupportedOperationException running tests on command line

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>