switched to try catch method and added sync tests