fix test
add domain test
domain is now array
fix sample too