improved tests adding cove coverage