Added register file and working test