Increase timeout for flash init
Used minified version of library
Use min in test-container as well
Updated lib to use new_length