refactor assertions, fix bag in test_fast_mypownor.c