Added unit tests for ext.'s

Thought I would start adding some unit tests for this and understand how this all works.