Test passing incorrectly