rewrote test-building flag and added installation routines