changed 'true' to 'expected'