Add test for create_usloc_table

Also added `pass` calls in a couple of places
to allow proper function syntax and remove the
existing `print` calls.