added logging
started supervisor tests (some fixes)