Added masked testing.