Update tests to work with webpack

Also update README