update tests
reduce transparency
change pk to hostname and add node_env