adds pretty print for tests