Tests for masked_load