added unit tests for the easing function factory