Some basic market tests

There's tons more testcases to hit here but figured I'd send PRs as they become ready