Import ``definitions`` module properly in tests