The surest way to pass this test is for the main character to be a woman (if the movie is primarily about a character) and to ensure that two women have a conversation at some point.
I mean…hey, it’s a “test” that came from a comic. It bothers me a little that there are websites devoted to analyzing movies and other works of fiction to see whether they pass or not, but it’s just a little.
As annoying as the test can be–some really good movies fail the test, and some pretty terrible movies pass the test–it’s more a datapoint to figure out whether women in a piece of fiction are doing something other than fawning over the men. Having just slogged through, of all things, a Star Trek novel series where the story passes the test, but the women (including established characters like Deanna Troi and Ezri Dax) might as well have been cardboard standups, I’d like to see someone come up with something better.
EDIT: Here’s an op-ed on The Guardian about it. I agree: the original “test” is clearly tongue-in-cheek, and it’s an awfully narrow metric to judge a work by. Still…hey, hey Hollywood? It’s okay if you put teh wimminz in your movies, I swear.