include apt update process to default receipe
add test setting for travis-ci
improve code quality