Updated the purely procedural functional test to one that uses unittest module.