Fixing up tests.
Fixing up static URLs to work regardless of server, DEBUG
Small bugfix, removing outdated tests.