Updated tests to use nose and unittest module.