Update circular ref tests + better error handling
Use inheritance instaed of build-properties
Remove additional-parameters and custom build flags