adds tests for all those changes because whoops