improved coverage test