Add RegisterFileTest