some fuckin functional programming tests