Update test functions.
Add test for inset functions.
Add test for non-0-1 levelset.