make the 'test' target depend on the 'all' target

instead of depending only on the 'static' one