I think you can consolidate all those tests under a single function -- tests will also run faster