created simple logging mechanism
fixed timing in unit tests