couple of minor bug fixes and add nixt testing of bin files