Updated deprecated test assertions