local and remote tests work as expected