smart test page, minor css bug fixes