unit tests & cosmetics