refactors the pending test code
adds missing files for pending
fixes a typo