tests.c: separate flashsim tests
tests.c: add flashsim fixture