some fixes and new tests
add physics