Make tests actually validate that build succeeds

This uses Mechanize for testing.