School's policy requires girls to take pregnancy tests