add test on checkin and idle connection test period option
Merge pull request #179 from federkasten/test-connection

add test on checkin and idle connection test period option