NF: add nose for testing