updated show functions for tests