Fix #33 make check fails sometimes

Make check now has dependencies that are a little better seperated,
and

make clean
make check

succeeds.