added try/catch for clean assertion failures