changed tests to use Warden properly
added window function settings and other media-related fixes
updated gems