restructure tests, fix landscape media query