Removed use of unittest2 and use old unittest API for 2.6 support up to 3.3