Removing test runtime exception