fixed doctests in pixelfunc, run doctests on travis