improve logging and running on device
fixed test cases
added back test cases that keep disappearing...lol