writing tests for some features that I spiked