adds automatic tests for build binaries
improve unit tests