fixed tests and build configs