More tests

Added plugin upload test.
Fixed bug causing plugin upload to fail in Firefox.