Test working. Missing reduction functions.