Adding boolean test