Add constraints test with multiple molecules