Add tests script to package config and Travis config.