#Test to confirm that "aslongas" in combination with ">" works.
#You control 3 arifacts and Auriok Sunchaser. It is 3/3 due to its Metalcraft bonus (+2/+2).
#1 of the 3 artifacts gets destroyed by Shatter. Auriok Sunchaser should lose the Metalcraft bonus because there are not enough artifacts on your side anymore. 
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Auriok Sunchaser,Bottle Gnomes,Mox Pearl,Bonesplitter
hand:Shatter,Shock
manapool:{1}{R}{R}
[PLAYER2]
[DO]
Shatter
Mox Pearl
Shock
Auriok Sunchaser
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Bottle Gnomes,Bonesplitter
graveyard:Shatter,Mox Pearl,Shock,Auriok Sunchaser
manapool:{0}
life:20
[PLAYER2]
[END]