add pytest coverage