fixed errors
improved media queries test