Creating unittest

Ready to be launched with nosetest