change function/throttle spec trying to fix travis-ci flakiness. see #41