Added mysql adapter
fix all tests
fix all test; countined.
add test makefile