Adding tests

more leftovers, this isn't in use