wip: working tests: max, sin, connect