Added missing unit tests and made minor changes to README to use Github markdown more widely