fixed sample tests and node