Tests: DRY out logging tests

inline the non-initialized vars