Fixes building of automated tests