add test task for ./tests/**/test*.rb
remove warning
wait_for_connection added and test code