add some .h and changed test things.