Test requires logical and operator