Add tests

Ignore what I said, I thought it was concerning another line, I'll add a doctring