Fixed tests for right apply and left apply.

Fixes #37 and Fixes #25 (properly).