added function to check test coverage at function level