python/NNP tests