add travis-ci support and page model unit tests