update script to setup test environment
renaming
refactoring
renaming log message
add specs