return_locals decorator is moved to separate module and is covered with test