Updated the code to be M3 compliant. Changed the unittest library from 0.2.7 to 'any'.