Update tests
Fix build dir bug and use more make jobs