set up testing frame work