Allow user to pass env dict to get_config method.
Add another test for config parser.
Remove unused import.
Update travis config.