some tests. Still a bunch more to write.