added unit tests using Paste and Nose