working build and tests