Added RegisterFile test and fixed bug in BitWord resize.