Unit Tests

Note that this implementation assumes a frameset.