small code snippets and feature tests