A testable model for protein folding