Checking coverage inside a component