use environment variables for testing
update documentation for testing
add support for travis testing