added a test for default fallback.
enable badge for travis-ci.