Added unit test for non integer line execution counts.
Minor changes to make it more PEP8 compliant.