moved internal_math tests
fixed makefile so clean-all works with all the new types