#248: add Custom Build, add tests