test: use @test instead of @assert