Adding tests verifying this behavior.