Add the missing test runner
Fix string manipulation
Image loading is async, don't let the tests pass before we've validated the responses
use correct dimensions when testing
Make the browser tests runnable