Updates test code to match assignment