To compile for tests
Broken commit to work from another place on it
First version working