Made into an actual extension, added base regression test.