test spring task and init-method