added automatic invocation of tests