Using main method for testing. Test coverage 100%.