Taking a test apart

How come when you take a pregnanct test out of its case, that test is considered invalid/ cause evaps. BUT the strips without casing are not invalid?